#pragma once
#ifndef __VIEW_HEART_RATE_H__
#define __VIEW_HEART_RATE_H__
#include "stdint.h"
#include "button_event.h"
#include "view_abstract.h"
typedef struct __view_heart_rate_param
{
    bool is_wear;
    int num;       //!< <0 表示--
    int num_digit; //!< 0表示自动
    int unit_index;
    int temp_index_start;
    int file_index_start;
    int unit_height;
    int unit_width;
    bool unwear_language;
    char const *unwear_language_str;
} view_heart_rate_param;
void view_heart_rate_animation(view_heart_rate_param const *param);

int32_t view_heart_rate_display(int32_t);
view_event_result_t view_heart_rate_event(int32_t, event_param_t);
// void view_heart_rate_animation_show(uint8_t const * frame_bmp);
// uint8_t const *heart_rate_animation_frame(void);
#endif //!< __VIEW_HEART_RATE_H__
